package com.zc.framework.web.freemarker.tags;

/**
 * Created by zc on 2016/12/19.
 */
public class HasRoleTag extends RoleTag {
    @Override
    protected boolean showTagBody(String roleName) {
        return getSubject() != null && getSubject().hasRole(roleName);
    }

}
